package com.hdaccp.lettingagency.dao;


import com.hdaccp.lettingagency.entity.Role;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface RoleDao {
    public Role getRoleByUserName(@Param("name") String name) ;
    public List<Role> query() ;
    public long getTotalCount(@Param("name") String name) ;
    public List<Role> queryPage(@Param("name") String name, @Param("limit")int limit, @Param("offset")int offset) ;
}
